﻿using MoneyManagerNET.DAL.Mock;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using MoneyManagerNET.Model;

namespace Test.DAL.Mock
{
    
    
    /// <summary>
    ///This is a test class for StockInvestmentTest and is intended
    ///to contain all StockInvestmentTest Unit Tests
    ///</summary>
    [TestClass()]
    public class StockInvestmentTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        /// <summary>
        ///A test for StockInvestment Constructor
        ///</summary>
        [TestMethod()]
        public void StockInvestmentConstructorTest()
        {
            StockInvestment target = new StockInvestment();
            Assert.Inconclusive("TODO: Implement code to verify target");
        }

        /// <summary>
        ///A test for DeleteEntity
        ///</summary>
        [TestMethod()]
        public void DeleteEntityTest()
        {
            StockInvestment entity = null; // TODO: Initialize to an appropriate value
            StockInvestment.DeleteEntity(entity);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for Commission
        ///</summary>
        [TestMethod()]
        public void CommissionTest()
        {
            StockInvestment target = new StockInvestment(); // TODO: Initialize to an appropriate value
            Decimal expected = new Decimal(); // TODO: Initialize to an appropriate value
            Decimal actual;
            target.Commission = expected;
            actual = target.Commission;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for CurrentPrice
        ///</summary>
        [TestMethod()]
        public void CurrentPriceTest()
        {
            StockInvestment target = new StockInvestment(); // TODO: Initialize to an appropriate value
            Decimal expected = new Decimal(); // TODO: Initialize to an appropriate value
            Decimal actual;
            target.CurrentPrice = expected;
            actual = target.CurrentPrice;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Date
        ///</summary>
        [TestMethod()]
        public void DateTest()
        {
            StockInvestment target = new StockInvestment(); // TODO: Initialize to an appropriate value
            DateTime expected = new DateTime(); // TODO: Initialize to an appropriate value
            DateTime actual;
            target.Date = expected;
            actual = target.Date;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for HeldAt
        ///</summary>
        [TestMethod()]
        public void HeldAtTest()
        {
            StockInvestment target = new StockInvestment(); // TODO: Initialize to an appropriate value
            IStockAccount expected = null; // TODO: Initialize to an appropriate value
            IStockAccount actual;
            target.HeldAt = expected;
            actual = target.HeldAt;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Id
        ///</summary>
        [TestMethod()]
        public void IdTest()
        {
            StockInvestment target = new StockInvestment(); // TODO: Initialize to an appropriate value
            int expected = 0; // TODO: Initialize to an appropriate value
            int actual;
            target.Id = expected;
            actual = target.Id;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Notes
        ///</summary>
        [TestMethod()]
        public void NotesTest()
        {
            StockInvestment target = new StockInvestment(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.Notes = expected;
            actual = target.Notes;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for PurchasePrice
        ///</summary>
        [TestMethod()]
        public void PurchasePriceTest()
        {
            StockInvestment target = new StockInvestment(); // TODO: Initialize to an appropriate value
            Decimal expected = new Decimal(); // TODO: Initialize to an appropriate value
            Decimal actual;
            target.PurchasePrice = expected;
            actual = target.PurchasePrice;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for StockAccountId
        ///</summary>
        [TestMethod()]
        public void StockAccountIdTest()
        {
            StockInvestment target = new StockInvestment(); // TODO: Initialize to an appropriate value
            int expected = 0; // TODO: Initialize to an appropriate value
            int actual;
            target.StockAccountId = expected;
            actual = target.StockAccountId;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for StockCount
        ///</summary>
        [TestMethod()]
        public void StockCountTest()
        {
            StockInvestment target = new StockInvestment(); // TODO: Initialize to an appropriate value
            int expected = 0; // TODO: Initialize to an appropriate value
            int actual;
            target.StockCount = expected;
            actual = target.StockCount;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for StockName
        ///</summary>
        [TestMethod()]
        public void StockNameTest()
        {
            StockInvestment target = new StockInvestment(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.StockName = expected;
            actual = target.StockName;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for StockSymbol
        ///</summary>
        [TestMethod()]
        public void StockSymbolTest()
        {
            StockInvestment target = new StockInvestment(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.StockSymbol = expected;
            actual = target.StockSymbol;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
    }
}
